times = [1369031085000.0, 1369097550000.0, 1369164015000.0, 1369230480000.0, 1369296945000.0, 1369363410000.0, 1369429875000.0, 1369496340000.0, 1369562805000.0, 1369629270000.0, 1369695735000.0, 1369762200000.0, 1369828665000.0, 1369895130000.0, 1369961595000.0, 1370028060000.0, 1370094525000.0, 1370160990000.0, 1370227455000.0, 1370293920000.0];
ndis = [0.04611583529102864, 0.11657876287041766, 0.11905066548417052, 0.554331768809738, 0.8754986983943717, 1.4482885119449798, 1.682793150912571, 1.8418459989844524, 1.9441264728521228, 2.0393049354656796, 2.5455930134387668, 2.47757691807318, 2.49177667736248, 2.525952679894253, 3.170719317137842, 3.1485316196751305, 3.1418821920734024, 3.1463273269224286, 3.157205568692467, 3.135796034654159];
edges = [4, 5, 5, 16, 28, 35, 37, 40, 43, 43, 46, 48, 50, 52, 53, 53, 54, 54, 54, 54];

figure
plot(times, ndis)
xlabel('Time (timestamp)')
ylabel('Network Disagreement Index (NDI)')
        